//
// Created by xili on 2024/8/7 20:37.
// Go big or go home.
//
#include <vector>
#include <algorithm>
using namespace std;

class Solution {
public:
    int matrixSum(vector<vector<int>>& nums) {
        int n=nums.size();
        int m=nums[0].size();
        int ans=0;
        for(int i=0;i<n;i++){
            sort(nums.begin(),nums.end());
        }
        for()
    }
};